/* General custom CSS for NG911 API documentation */

/* Slightly reduce line spacing between parameters in parameter lists */
dl.field-list > dt:first-child ~ dd {
    line-height: 1.2;
    padding-bottom: 1em;
}

/* Make type hints in field/parameter lists monospace and stand out slightly */
dl[class]:not(.option-list, .field-list, .footnote, .glossary, .simple) dl.field-list ul.simple p > strong:first-child ~ * {
    font-family: var(--pst-font-family-monospace);
    background-color: var(--pst-color-surface);
}

/* Slightly reduce letter spacing of parameters in function signatures */
.sig-param * {
    letter-spacing: -0.03em;
}

/* Change color of type hints in function signatures */
.sig-param > .n:not(:first-child) {
    font-weight: lighter;
    color: var(--pst-color-text-muted);
    color: var(--pst-color-text-muted);
}

/* ...except within a :target element */
:target .sig-param > .n:not(:first-child) {
    color: revert;
}
